package Demo_05;

import Demo_01.BookInfoDao;
import com.neu.Dao.BaseDao;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * 专门赴bookinfo表进行SQL语句编写的位置
 *
 *
 */
public class BookInfoDemo extends BaseDao {
    public List<Map<String,Object>> findAll(){
        List list = null;
        String sql = "select * from student";
        list = super.executeQuery(sql);

        return list;

    }

    public static void main(String[] args) {
        BookInfoDemo books = new BookInfoDemo();
        System.out.println(books.findAll());
    }
}
